package VN.EDU.IMIC.DEVELOPER.TRINHCAOSANG.Array.Bai2Mang2Chieu;


import java.util.ArrayList;
import java.util.List;

public class ViewsHaiChieu {
	public static void main(String[] args) {
/*
		List<String> list1 = new ArrayList<String>() ;
		List<String> list2 = new ArrayList<String>();

		list1.add("Pham Van D");
		list1.add("Hoang Minh P");
		list1.add("Duong van M");
		list2.add("Dao Minh N");
        list2.add("Tong hoang S");
        list2.add("Thanh Thanh N");


        System.out.println("List 1 : ");
        for (int i = 0; i <list1.size() ; i++) {
            System.out.println("Student " + i + " "+list1.get(i));
        }

        System.out.println("List 2 : ");
        for (int i = 0; i <list2.size() ; i++) {
            System.out.println("Student " + i + " "+list2.get(i));
        }
        */
        ArrayList<ArrayList<Double>> arr = new ArrayList<ArrayList<Double>>();
        List<Double> lis01 = new ArrayList<Double>();
        List<Double> lis02 = new ArrayList<Double>();

        lis01.add(40.5);
        lis01.add(56.5);
        lis01.add(70.25);
        lis01.add(42.36);

        lis02.add(70.5);
        lis02.add(20.1);
        lis02.add(44.7);
        lis02.add(23.5);

        arr.add((ArrayList<Double>) lis01);
        arr.add((ArrayList<Double>) lis02);

        HaiChieuController controller = new HaiChieuController();
        System.out.println("Array's sum : " + controller.CheckSum(arr));
        controller.CheckPrint(arr);

    }
}
